package com.ct.musicserver.service;

import com.ct.musicserver.controller.param.DelMusicParam;
import com.ct.musicserver.service.dto.FindMusicDTO;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface MusicService {
    void upload(String singer, MultipartFile file);

    ResponseEntity<byte[]> get(String path);

    void delMusic(DelMusicParam param);

    void delSelById(List<Long> ids);

    List<FindMusicDTO> findMusic(String musicName);
}
